#!/bin/csh

source /opt/ngat/etc/cshrc
source $DEPLOY_BIN/class_setup
source $DEPLOY_BIN/osx_setup

# p2dump <p2-cfg-file>

# Usage: Phase2GenLoad
# params:  --load <file.odb>

set DBFILE = $1
	    
set AST = "-Dastrometry.impl=ngat.astrometry.TestCalculator"

echo Log to ${DBFILE:t}.log

java $AST ngat.oss.simulation.test.Phase2GenLoad --load $DBFILE >& ~/${DBFILE:t}.log &
